// @import '../tero/base.css';

@font-face {
    font-family: '1234567890-Regular';
    src: url('../../font/1234567890-Regular.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

.ant-calendar-selected-date .ant-calendar-date,
.ant-calendar-selected-start-date .ant-calendar-date,
.ant-calendar-selected-end-date .ant-calendar-date {
    background: #5286FF !important;
}

.ant-calendar-today .ant-calendar-date {
    //color :#5286FF !important;
    border-radius: 50%;
    border-color: #5286FF !important;
}

.ant-calendar-selected-day .ant-calendar-date {
    color: white !important;
    background: #5286FF !important;
}

.ant-calendar-picker-input input:nth-child(3) {
    margin-right: 20px;
}

#index_father {
    background-color: #fff;
    height: 100%;
    // overflow-y:auto;
    width: 100%;
    box-sizing: border-box;

    >.index-top {
        // padding-top: 20px;
        height: 57%;
        width: 100%;

        @media screen and (max-height: 1000px) {
            height: 59%;
        }

        @media screen and (max-height:950px) {
            height: 60%;
        }

        @media screen and (max-height:900px) {
            height: 63%;
        }

        >.analysis-content {
            height: calc(100% - 169.67px);
            >.a-trend {
                height: 100%;
            }
        }

        >.index-top-left {
            display: flex;

            >.index-top-left-son {
                // height: 100%;
                width: 30px;
                background-color: #99b8ff;
                text-align: center;
                color: white;
                writing-mode: vertical-rl;
                line-height: 30px;
                letter-spacing: 40px;
                font-size: 14px;
                height: 170px;
                padding-top: 38px;
            }
        }
    }

    &::-webkit-scrollbar {
        background-color: #eff1f3;
        width: 0px;
    }

    .data-ul {
        list-style: none;
        width: 100%;
        display: flex;
        justify-content: flex-start;
        // flex-direction: row;
        border-bottom: 1px solid #ccc;
        flex-wrap: wrap;

        li {
            // border: 1px solid #000;
            width: calc(16.66% - 30px);
            padding: 14px 0px;
            padding-left: 20px;
            margin-right: 30px;

            // height: 85px;
            .index-top-list {
                //border-right: 1px solid #e6e9ed;
                display: flex;
                flex-direction: row;
                align-items: center;
                margin-right: 0 !important;
                justify-content: flex-start;
                margin-right: 50px;
                position: relative;

                >span {
                    height: 26px;
                    background-color: #e6e9ed;
                    width: 1px;
                    display: inline-block;
                    top: 50%;
                    position: absolute;
                    right: 0;
                    transform: translateY(-50%);
                }
            }

            .ul-right {
                text-align: left !important;

                h3 {
                    font-family: "1234567890-Regular";
                    font-size: 22px;
                    color: #3f484f;
                    margin-bottom: 2% !important;
                }

                span {
                    font-family: "1234567890-Regular";
                    font-size: 14px;
                    color: #9ba2ab;
                    white-space: nowrap;
                }
            }

            &:first-of-type {
                // margin-left: 17px;
            }

            &:last-of-type {
                border: none;
            }
        }

        li:nth-of-type(6) {
            margin-right: 0px;
            width: 16.6%;

            .index-top-list {
                border-right: none;
            }
        }
    }

    .a-trend {
        position: relative;
        padding: 0;
        border-bottom: 0;

        .at-title {
            display: flex;
            justify-content: space-between !important;
            //border-bottom: 3px solid #e9ebed !important;
            align-items: flex-start !important;
            height: 60px;
            // padding-bottom: 16px;
            line-height: 60px;
            z-index: 99;
            position: relative;

            >.at-datess {
                height: 100%;
                width: 50%;

                >span {
                    height: 105%;
                    display: inline-block;
                    width: 60px;
                    text-align: center;
                    // line-height: 60px;
                    color: #9ba2ab;
                    cursor: pointer;
                }

                >span:first-child {
                    margin: 0 70px 0 29px;
                }

                >.activee {
                    border-bottom: 3px solid #5286ff;
                    color: #5286ff;
                }
            }

            .at-time {
                text-align: left;
                width: 120% !important;
                margin-right: 29px;



                .span {
                    width: 10px;
                    height: 1px;
                    background-color: #9ba2ab;
                    display: inline-block;
                    margin: 0 5px;
                }

                .ant-calendar-picker-input {
                    // width: 295px  !important;
                }
            }
        }

        .trend {
            padding: 0 30px;
            height: calc(100% - 60px) !important;

            .at-dataa {
                display: inline-block;
                //margin-right: 10%;
                width: 60%;
                min-width: 375px;
                padding: 10px 0;
                border-top: 3px solid #e9ebed !important;
                display: flex;
                justify-content: space-between;

                .at-select {
                    font-size: 14px !important;
                    // width: 35% !important;
                    // margin-right: 58px;

                    >.ant-tag-checkable {
                        &:active {
                            background-color: #fff;
                        }
                    }

                    >.ant-tag {
                        width: 60px;
                        height: 30px;
                        text-align: center;
                        line-height: 30px;
                        color: #9ba2ab;
                        margin-right: 25px;

                    }

                    >.ant-tag:last-child {
                        margin-right: 0px;

                    }

                    >.ant-tag-checkable-checked {
                        background-color: #fff;
                        border: 1px solid #5286ff;
                        color: #5286ff;
                    }

                }

                span {
                    margin-left: 4%;
                    font-size: 14px;
                    color: #616577;
                }

                >.at-dataalist {
                    min-width: 200px;

                    >span:first-child {
                        margin-left: 0;
                        font-weight: 900;
                        font-size: 16px;
                    }

                    >span:last-child span {
                        font-family: "1234567890-Regular";
                    }
                }

            }

            #trend {
                width: 66.8% !important;
                height: 190px;

                @media screen and (max-height: 936px) {
                    height: 170px;
                }

                @media screen and (max-height: 850px) {
                    height: 130px;
                }

                position: relative;

                >div:nth-of-type(1) {
                    height: 100% !important;
                }

                >div:first-child {
                    height: 100% !important;
                    width: 100% !important;

                     canvas {
                        height: 100% !important;
                        width: 100% !important;
                    }

                }


                .example {
                    width: 100%;
                    height: 100%;
                    // border: 1px solid #000;
                    text-align: center;
                    background: rgba(0, 0, 0, 0.05);
                    border-radius: 4px;
                    margin: 20px 0;
                }
            }
        }

        .bbxx {
            position: absolute;
            top: 16px;
            // height: 306px;
            width: 33%;
            right: 46px;
            overflow-y: auto;
            height: calc(100% - 16px);
            z-index: 100;

            &::-webkit-scrollbar {
                background-color: #fff;
                width: 0px;
            }

            >h3 {
                padding-bottom: 12px;
                color: #282828;
                font-size: 16px;
            }

            >ul {
                >li {
                    height: 46px;
                    border-bottom: 1px solid #e9ebed;
                    display: flex;
                    position: relative;
                    &:first-of-type {
                        border-top: 1px solid #e9ebed;
                    }

                    &:hover {
                        color: #346ff8;
                        cursor: pointer;
                    }

                    >span {
                        display: inline-block;
                    }

                    >span:nth-of-type(1) {
                        width: 30px !important;
                        height: 47px;
                        line-height: 46px;
                        text-align: center;
                        font-size: 18px;
                        background-color: #f8f9fb;
                        //margin-right: 10px;
                        position: absolute;
                        left: 0;
                        top: 0;
                        z-index: 100;
                    }

                    >span:nth-of-type(2) {
                        font-size: 14px;
                        padding-left: 40px;
                        line-height: 46px;
                        // width: calc(100%-40px);
                        display: inline-block;
                        overflow: hidden;
                    }

                }
            }
        }
    }

    .conter {
        height: 43%;
        @media screen and (max-height: 800px) {
            height: 37%;
        }

        .conter_bottom {
            height: 100%;
            display: flex;
            flex-wrap: wrap;
            justify-content: space-between;
            width: 100%;
            background-color: #f0f2f5;
            padding-top: 16px;

            >.conter_bottom_son {
                background-color: #fff;
                margin-bottom: 10px;
                width: 49%;
                overflow: hidden;
                >.top_one {
                    height: 50px;
                    line-height: 50px;
                    color: #282828;
                    overflow: hidden;
                    display: flex;
                    justify-content: space-between;
                    padding: 0 30px;
                    border-bottom: 1px solid #e9ebed;
                    span{
                        // border: 1px solid #000;
                    }
                }

                >ul {
                    padding: 0 30px;

                    >li {
                        width: 100%;
                        padding: 18px 0;
                        border-bottom: 1px solid #e9ebed;
                        display: flex;
                        justify-content: space-between;
                        height: 64px !important;

                        &:last-of-type {
                            height: 65px !important;
                        }

                        >div:nth-of-type(1) {
                            width: 80%;

                            h3 {
                                font-size: 14px;
                                color: #30383e;
                                overflow: hidden;
                                text-overflow: ellipsis;
                                white-space: nowrap;
                            }

                            p {
                                font-size: 12px;
                                white-space: nowrap;
                                overflow: hidden;
                                line-height: 1.2;
                                color: #9ba2ab;
                                // width: 520px;
                                overflow: hidden;
                                text-overflow: ellipsis;
                                white-space: nowrap;

                            }

                            &:hover {
                                h3 {
                                    color: #346ff8;
                                }

                                p {
                                    color: #93b5ff;
                                }
                            }
                        }

                        >div:nth-of-type(2) {
                            width: 16%;
                            white-space: nowrap;
                            overflow: hidden;
                            padding-top: 5px;
                            color: #3c495a;
                            font-size: 10px;
                        }

                    }
                }
            }

        }
    }
}